package com.mc.moring.netconfig

import okhttp3.RequestBody
import okhttp3.ResponseBody
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * <pre>
 *     author : kuang
 *     time   : 2023/11/29
 *     desc   :
 *     version: 1.0
 * </pre>
 */
interface ApiMianServer {

    @POST("/remote/loan_manvtl/getProducts")
    suspend fun getZiLiPageProducts(@Body string: RequestBody): Response<ResponseBody>

    @POST("/remote/user_manvtl/getUserFullInfo")
    suspend fun getUserInfo(@Body string: RequestBody): Response<ResponseBody>

    @POST("security_manvtl/getGeoIpResult")
    suspend fun getZiLiPageGeoIpResult(@Body string: RequestBody): Response<ResponseBody>

    @POST("util_manvtl/submitInfo")
    suspend fun utilsubInfo(@Body string: RequestBody): Response<ResponseBody>

    @POST("util_manvtl/getVersion")
    suspend fun getVersion(@Body string: RequestBody): Response<ResponseBody>

    @POST("loanSecurity_manvtl/evaluationGuide")
    suspend fun loanSecurityevaluationGuide(@Body string: RequestBody) : Response<ResponseBody>

    @POST("util_manvtl/submitAppNotificationToken")
    suspend fun subAppNotification(@Body string: RequestBody): Response<ResponseBody>

    @POST("preCredit_manvtl/apply")
    suspend fun preCreditapply(@Body string: RequestBody): Response<ResponseBody>

    @POST("preCredit_manvtl/getResult")
    suspend fun preCreditgetResult(@Body string: RequestBody): Response<ResponseBody>

    @POST("util_manvtl/submitRestShortMsgInfo")
    suspend fun subRestShortMsgInfo(@Body string: RequestBody): Response<ResponseBody>

    @POST("security_manvtl/getApplicationConfig")
    suspend fun securitygetApplicationConfig(@Body string: RequestBody): Response<ResponseBody>

    @POST("security_manvtl/getBannerConfig")
    suspend fun securitygetBannerConfig(@Body string: RequestBody): Response<ResponseBody>

    @POST("preCredit_manvtl/getCreditInfoForHomePage")
    suspend fun getCreditInfoForHomePage(@Body string: RequestBody): Response<ResponseBody>





}